import { IpcWindow } from "../../util/IpcWindow/IpcWindow";
import { WindowName } from "../../../electron/appInstance/enums";

export type Params = {
  row: string;
  projectId: string;
  modelId: string; // 构造型id
  isModelDisabled: boolean;
};

export type CloseData = {
  windowName: WindowName;
  success: boolean;
  shapeConfig: string;
};

export const shapeCustomizationWindow = new IpcWindow<
  // 参数
  Params,
  // 返回值
  CloseData
>(WindowName.ShapeCustomizationWindow);
